﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace SetpBySetp.Web.WCF
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "GetRssData" in code, svc and config file together.
    public class GetRssData : IGetRssData
    {

        public System.IO.Stream GetData(Uri uri)
        {
            WebRequest request = WebRequest.Create(uri);
            IAsyncResult result = request.BeginGetResponse(new AsyncCallback(ResponseReady), request);
            return null;
        }

        public AsyncCallback ResponseReady { get; set; }
    }
}
